﻿using RXY_Mall.Application.Statistics.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RXY_Mall.Application.Statistics
{
    public interface IStatisticsService
    {
        UserStatisticsDto GetUserStatistics();

        UserStatisticsDto GetCompanyStatistics();

        UserStatisticsDto GetShopStatistics();
        UserStatisticsDto GetManagerStatistics();

        VipStatisticsDto GetVipStatistics();

        GoodsStatisticsDto GetGoodsStatistics(int shop=-1);

        OrderStatisticsDto GetHomeOrderStatistics(int shop = -1);

        /// <summary>
        /// 审核统计
        /// </summary>
        /// <param name="type">1会员提现，2商家提现，3商家银行卡，4商家入驻</param>
        /// <returns></returns>
        AuditStatisticsDto GetAuditStatistics(int type);

        SettlementStatisticsDto GetSettlementStatistics(int shop = -1);
        
    }
}
